export interface IForm {
  isshow: boolean,
  title: string,
}
export interface IAd {
  id: number;
  type: number|string;
  pictrue: string;
  detailId: number|string;
  createTime?: string;
}
export interface IDirtList {
  data:IDirt[]
}

export interface IDirt {
  id: number;
  parentCode: number;
  dirtKey: number;
  dirtValue: string;
}

export interface ICate {
  id: number;
  parentId: number;
  name: string;
  state: number;
  icon: string;
  sort: number;

}

export interface ILevel {
  id: number|undefined;
  discount: string;
  icon: string;
  conditions: number;
  name: number|string;
  state: number;

}

export interface IBrand {
  id: number|undefined;
  brandName: string;
  icon: string;
  sort: number;
  istop: number|string;
  state: number;

}
export interface IUser {
  id: number|undefined;
  userName: string;
  password: string;
  comfirmPassword: string;
  email: string;
  mobile: string;
  roleIdList: string[];
  status: number;

}

export interface ISwiper {
  id: number|undefined;
  picture: string;
  type: string;
  url: string;
  name: number|string;
  state: number;

}
export interface IClassify {
  id: number|undefined;
  parentId: number;
  parentName: string,
  name: string;
  state?: number;
  icon: string;
  sort: number;
  children?:IClassify[],
  _level?:number
}

export interface ICoupon {
  id: number|undefined;
  price: number|string;
  startDate: string;
  endDate: string;
  state: number;
  conditions: number|string;
}

export interface ICouponDetail {
  id: number|undefined;
  price: number|string;
  startDate: string;
  endDate: string;
  state: number;
  conditions: number|string;
  date: string[],
}

export interface IGood {
  id: number|undefined;
  productId: number|string;
  name: string;
  pictrue: string;
  price: number|string;
  state: number;
  sort: number;
}
export interface IGoodDetail {
  id: number|undefined;
  brandId: number;
  classifyId: number;
  mainPic: string;
  picture: string;
  title: string;
  subTitle: string;
  params: string;
  state: number;
  sort: number;
  detail: string;
}
export interface ISpec {
  id: number|undefined;
  productId: number|string;
  name: string;
  pictrue: string;
  price: number|string;
  state: number|string;
  sort: number|string;
}

export interface IParams {
  id: number|undefined;
  cateId: number|string;
  name: string;
  unit: string;
  isCommon: number;
  sno: number|string;
  classifyName:string;
}

export interface IProduct {
  id: number|undefined;
  brandId: number|string;
  classifyId: number|string;
  mainPic: string;
  picture: string;
  title: string;
  subTitle: string;
  params: string;
  state: number|string;
  sort: number|string;
  detail: string;
  classifyName:string;
}

export interface IProductDetail {
  id: number|undefined;
  url: string;
  title: string;
  headers: any;
  fileList: IPic[];
  iconArr: IPic[];
  paramsArr: IKeyV[];
  dialogVisible: boolean;
  dialogImageUrl: string;
  menuListTreeProps:Object;
}
export interface IPic {
  url: string;

}
export interface IKeyV {
  key: string;value: string
}

export interface IRecommend {
  id: number|undefined;
  productId: number|string;
  specId: number|string;
  type: number;
  state: number;
}

export interface IScoreshop {
  id: number|undefined;
  name: string;
  picture: string;
  sku: string;
  detail: string;
  score: number|string;

}